const http = uni.$u.http;

// 获取上传密钥
export function getTempkey(params){
	// return http.get('/api/v6/Qc/getTempkey', {params})
	return http.get('/api/v6/Qc/getTmpKey', {params})
}
// 获取上传注册头像密钥
export function getUploadTmpKey(params){
	return http.get('/api/v6/Comm/getUploadTmpKey',{
		params,
		custom:{
			noToken:true
		}
	})
}
// save
export function saveUploadInfo(params){
	return http.post('/api/v6/Upload/saveUploadInfo', params)
}


// 检查上传
export function checkIsExist(params){
	return http.post('/api/v6/Upload/checkIsExist', params,{
		timeout:10000
	})
}